package com.zr.repertory.affiliation.service.impl;

import com.zr.repertory.affiliation.mapper.WareHouseMapper;
import com.zr.repertory.affiliation.model.pojo.QueryWareHouse;
import com.zr.repertory.affiliation.model.pojo.WareHouse;
import com.zr.repertory.affiliation.service.WareHouseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName WareHouseServiceImpl
 * @Description TODO
 * @Author Jiakui_Ma
 * @Date 2019/11/21 15:43
 */
@Service
public class WareHouseServiceImpl implements WareHouseService {

    @Autowired
    private WareHouseMapper wareHouseMapper;

    /**
     * 添加中多条件查询库房
     * @param queryWareHouse
     * @return
     */
    @Override
    public List<WareHouse> queryAllWareHouse(QueryWareHouse queryWareHouse) {
        return wareHouseMapper.queryAllWareHouse(queryWareHouse);
    }
}
